package org.springside.examples.showcase.repository.jpa;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springside.examples.showcase.entity.Vacation;

public interface VacationDao extends PagingAndSortingRepository<Vacation, Long> {
	Page<Vacation> findByUser_Id(Long id, Pageable pageRequest);
}
